<?php

/**
 * @author ThaiNM
 */
class SqlDeviceTable {

    static function SqlInsertDevice() {
        $sql = 'INSERT INTO device(token,systemOS,userId) VALUES(?,?,?)';
        return $sql;
    }
    /**
     * 
     * @return Sql update Device
     */
    static function SqlUpdateDevice() {
        return "UPDATE device
                    SET device.token = ?,
                    device.systemOS = ?,
                    device.userId = ?
                WHERE
                id = ?";
    }

}
